FROM openjdk:8-jdk-alpine

MAINTAINER zxj@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /opt/app/docker

WORKDIR /opt/app/docker

EXPOSE 8081

ADD spring-boot-docker-1.0.jar app.jar

CMD java -Djava.security.egd=file:/dev/./urandom -jar app.jar
